<template>
  <div id="app">
    <router-view />
    <Tabbar :items="items" :defaultSelectIndex="0" v-show="this.$route.meta.isShowTab"/>
  </div>
</template>
<script>
import Tabbar from "./components/tabbar/Tabbar";
export default {
  components: {
    Tabbar,
  },
  data() {
    return {
      items: [
        {
          title: "首页",
          path: "/",
          icon:'iconfont icon-home'
        },
        {
          title: "分类",
          path: "/classfily",
          icon:'iconfont icon-sort'
        },
        {
          title: "购物车",
          path: "/cart",
          icon:'iconfont icon-icon4'
        },
        {
          title: "我的",
          path: "/myself",
          icon:'iconfont icon-wode'
        },
      ],
    };
  },
};
</script>
<style>
</style>
